<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>ReflectionClass 类</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="reflection.getmodifiernames.html">Reflection::getModifierNames</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="reflectionclass.construct.html">ReflectionClass::__construct</a></div>
 <div class="up"><a href="book.reflection.html">反射</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.reflectionclass" class="reference">

 <h1 class="title">ReflectionClass 类</h1>
 

 <div class="partintro"><p class="verinfo">(PHP 5)</p>


  <div class="section" id="reflectionclass.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    <strong class="classname">ReflectionClass</strong> 类报告了一个类的有关信息。
   </p>
  </div>


  <div class="section" id="reflectionclass.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">ReflectionClass</strong>
     </span>
     
     <span class="oointerface">implements 
      <span class="interfacename"><a href="class.reflector.html" class="interfacename">Reflector</a></span>
     </span>
     {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 常量 */</div>
    <div class="fieldsynopsis">
     <span class="modifier">const</span>
     <span class="type">integer</span>
      <var class="fieldsynopsis_varname"><a href="class.reflectionclass.html#reflectionclass.constants.is-implicit-abstract"><var class="varname">IS_IMPLICIT_ABSTRACT</var></a></var>
     <span class="initializer"> = 16</span>
    ;</div>

    <div class="fieldsynopsis">
     <span class="modifier">const</span>
     <span class="type">integer</span>
      <var class="fieldsynopsis_varname"><a href="class.reflectionclass.html#reflectionclass.constants.is-explicit-abstract"><var class="varname">IS_EXPLICIT_ABSTRACT</var></a></var>
     <span class="initializer"> = 32</span>
    ;</div>

    <div class="fieldsynopsis">
     <span class="modifier">const</span>
     <span class="type">integer</span>
      <var class="fieldsynopsis_varname"><a href="class.reflectionclass.html#reflectionclass.constants.is-final"><var class="varname">IS_FINAL</var></a></var>
     <span class="initializer"> = 64</span>
    ;</div>


    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 属性 */</div>
    <div class="fieldsynopsis">
     <span class="modifier">public</span>
      <var class="varname"><a href="class.reflectionclass.html#reflectionclass.props.name">$<var class="varname">name</var></a></var>
    ;</div>


    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="methodname"><a href="reflectionclass.construct.html" class="methodname">__construct</a></span>
    ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$argument</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="type">string</span><span class="methodname"><a href="reflectionclass.export.html" class="methodname">export</a></span>
    ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$argument</code></span>
   [, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$return</code><span class="initializer"> = false</span></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">mixed</span><span class="methodname"><a href="reflectionclass.getconstant.html" class="methodname">getConstant</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="reflectionclass.getconstants.html" class="methodname">getConstants</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">ReflectionMethod</span> <span class="methodname"><a href="reflectionclass.getconstructor.html" class="methodname">getConstructor</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="reflectionclass.getdefaultproperties.html" class="methodname">getDefaultProperties</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="reflectionclass.getdoccomment.html" class="methodname">getDocComment</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">int</span><span class="methodname"><a href="reflectionclass.getendline.html" class="methodname">getEndLine</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">ReflectionExtension</span><span class="methodname"><a href="reflectionclass.getextension.html" class="methodname">getExtension</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="reflectionclass.getextensionname.html" class="methodname">getExtensionName</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="reflectionclass.getfilename.html" class="methodname">getFileName</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="reflectionclass.getinterfacenames.html" class="methodname">getInterfaceNames</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="reflectionclass.getinterfaces.html" class="methodname">getInterfaces</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">ReflectionMethod</span><span class="methodname"><a href="reflectionclass.getmethod.html" class="methodname">getMethod</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="reflectionclass.getmethods.html" class="methodname">getMethods</a></span>
    ([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$filter</code></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">int</span><span class="methodname"><a href="reflectionclass.getmodifiers.html" class="methodname">getModifiers</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="reflectionclass.getname.html" class="methodname">getName</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="reflectionclass.getnamespacename.html" class="methodname">getNamespaceName</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">object</span><span class="methodname"><a href="reflectionclass.getparentclass.html" class="methodname">getParentClass</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="reflectionclass.getproperties.html" class="methodname">getProperties</a></span>
    ([ <span class="methodparam"><span class="type">int</span> <code class="parameter">$filter</code></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">ReflectionProperty</span><span class="methodname"><a href="reflectionclass.getproperty.html" class="methodname">getProperty</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="reflectionclass.getshortname.html" class="methodname">getShortName</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">int</span><span class="methodname"><a href="reflectionclass.getstartline.html" class="methodname">getStartLine</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="reflectionclass.getstaticproperties.html" class="methodname">getStaticProperties</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">mixed</span><span class="methodname"><a href="reflectionclass.getstaticpropertyvalue.html" class="methodname">getStaticPropertyValue</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="reflectionclass.gettraitaliases.html" class="methodname">getTraitAliases</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="reflectionclass.gettraitnames.html" class="methodname">getTraitNames</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="reflectionclass.gettraits.html" class="methodname">getTraits</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.hasconstant.html" class="methodname">hasConstant</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.hasmethod.html" class="methodname">hasMethod</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.hasproperty.html" class="methodname">hasProperty</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.implementsinterface.html" class="methodname">implementsInterface</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$interface</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.innamespace.html" class="methodname">inNamespace</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.isabstract.html" class="methodname">isAbstract</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.iscloneable.html" class="methodname">isCloneable</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.isfinal.html" class="methodname">isFinal</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.isinstance.html" class="methodname">isInstance</a></span>
    ( <span class="methodparam"><span class="type">object</span> <code class="parameter">$object</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.isinstantiable.html" class="methodname">isInstantiable</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.isinterface.html" class="methodname">isInterface</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.isinternal.html" class="methodname">isInternal</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.isiterateable.html" class="methodname">isIterateable</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.issubclassof.html" class="methodname">isSubclassOf</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$class</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.istrait.html" class="methodname">isTrait</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionclass.isuserdefined.html" class="methodname">isUserDefined</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">object</span><span class="methodname"><a href="reflectionclass.newinstance.html" class="methodname">newInstance</a></span>
    ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$args</code></span>
   [, <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$...</code></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">object</span><span class="methodname"><a href="reflectionclass.newinstanceargs.html" class="methodname">newInstanceArgs</a></span>
    ([ <span class="methodparam"><span class="type">array</span> <code class="parameter">$args</code></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">object</span><span class="methodname"><a href="reflectionclass.newinstancewithoutconstructor.html" class="methodname">newInstanceWithoutConstructor</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span><span class="methodname"><a href="reflectionclass.setstaticpropertyvalue.html" class="methodname">setStaticPropertyValue</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$value</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="reflectionclass.tostring.html" class="methodname">__toString</a></span>
    ( <span class="methodparam">void</span>
   )</div>

   }</div>


  </div>

  

  <div class="section" id="reflectionclass.props">
   <h2 class="title">属性</h2>
   <dl>

    
     <dt id="reflectionclass.props.name"><var class="varname"><var class="varname">name</var></var></dt>

     <dd>

      <p class="para">
       类的名称。只读，并在尝试赋值的时候会抛出 <a href="class.reflectionexception.html" class="classname">ReflectionException</a>。
      </p>
     </dd>

    
   </dl>

  </div>


  

  <div class="section" id="reflectionclass.constants">
   <h2 class="title">预定义常量</h2>
   <div class="section" id="reflectionclass.constants.modifiers">
    <h2 class="title">ReflectionClass 修饰符</h2>
    <dl>


     
      <dt id="reflectionclass.constants.is-implicit-abstract"><strong><code>ReflectionClass::IS_IMPLICIT_ABSTRACT</code></strong></dt>

      <dd>

       <p class="para">
        指示了类是一个<a href="language.oop5.abstract.html" class="link">抽象类（abstract）</a>，
        因为它有抽象（abstract）方法。
       </p>
      </dd>

     

     
      <dt id="reflectionclass.constants.is-explicit-abstract"><strong><code>ReflectionClass::IS_EXPLICIT_ABSTRACT</code></strong></dt>

      <dd>

       <p class="para">
        指示了类是一个<a href="language.oop5.abstract.html" class="link">抽象类（abstract）</a>，
        因为它已明确定义。
       </p>
      </dd>

     

     
      <dt id="reflectionclass.constants.is-final"><strong><code>ReflectionClass::IS_FINAL</code></strong></dt>

      <dd>

       <p class="para">
        指示这是一个 <a href="language.oop5.final.html" class="link">final</a> 类。
       </p>
      </dd>

     

    </dl>

   </div>
  </div>



 </div>

 


























































































































































































































































































































































































































































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="reflectionclass.construct.html">ReflectionClass::__construct</a> — 构造一个 ReflectionClass 类</li><li><a href="reflectionclass.export.html">ReflectionClass::export</a> — 导出一个类</li><li><a href="reflectionclass.getconstant.html">ReflectionClass::getConstant</a> — 获取定义过的一个常量</li><li><a href="reflectionclass.getconstants.html">ReflectionClass::getConstants</a> — 获取一组常量</li><li><a href="reflectionclass.getconstructor.html">ReflectionClass::getConstructor</a> — 获取类的构造函数</li><li><a href="reflectionclass.getdefaultproperties.html">ReflectionClass::getDefaultProperties</a> — 获取默认属性</li><li><a href="reflectionclass.getdoccomment.html">ReflectionClass::getDocComment</a> — 获取文档注释</li><li><a href="reflectionclass.getendline.html">ReflectionClass::getEndLine</a> — 获取最后一行的行数</li><li><a href="reflectionclass.getextension.html">ReflectionClass::getExtension</a> — 根据已定义的类获取所在扩展的 ReflectionExtension 对象</li><li><a href="reflectionclass.getextensionname.html">ReflectionClass::getExtensionName</a> — 获取定义的类所在的扩展的名称</li><li><a href="reflectionclass.getfilename.html">ReflectionClass::getFileName</a> — 获取定义类的文件名</li><li><a href="reflectionclass.getinterfacenames.html">ReflectionClass::getInterfaceNames</a> — 获取接口（interface）名称</li><li><a href="reflectionclass.getinterfaces.html">ReflectionClass::getInterfaces</a> — 获取接口</li><li><a href="reflectionclass.getmethod.html">ReflectionClass::getMethod</a> — 获取一个类方法的 ReflectionMethod。</li><li><a href="reflectionclass.getmethods.html">ReflectionClass::getMethods</a> — 获取方法的数组</li><li><a href="reflectionclass.getmodifiers.html">ReflectionClass::getModifiers</a> — 获取修饰符</li><li><a href="reflectionclass.getname.html">ReflectionClass::getName</a> — 获取类名</li><li><a href="reflectionclass.getnamespacename.html">ReflectionClass::getNamespaceName</a> — 获取命名空间的名称</li><li><a href="reflectionclass.getparentclass.html">ReflectionClass::getParentClass</a> — 获取父类</li><li><a href="reflectionclass.getproperties.html">ReflectionClass::getProperties</a> — 获取一组属性</li><li><a href="reflectionclass.getproperty.html">ReflectionClass::getProperty</a> — 获取类的一个属性的 ReflectionProperty</li><li><a href="reflectionclass.getshortname.html">ReflectionClass::getShortName</a> — 获取短名</li><li><a href="reflectionclass.getstartline.html">ReflectionClass::getStartLine</a> — 获取起始行号</li><li><a href="reflectionclass.getstaticproperties.html">ReflectionClass::getStaticProperties</a> — 获取静态（static）属性</li><li><a href="reflectionclass.getstaticpropertyvalue.html">ReflectionClass::getStaticPropertyValue</a> — 获取静态（static）属性的值</li><li><a href="reflectionclass.gettraitaliases.html">ReflectionClass::getTraitAliases</a> — 返回 trait 别名的一个数组</li><li><a href="reflectionclass.gettraitnames.html">ReflectionClass::getTraitNames</a> — 返回这个类所使用 traits 的名称的数组</li><li><a href="reflectionclass.gettraits.html">ReflectionClass::getTraits</a> — 返回这个类所使用的 traits 数组</li><li><a href="reflectionclass.hasconstant.html">ReflectionClass::hasConstant</a> — 检查常量是否已经定义</li><li><a href="reflectionclass.hasmethod.html">ReflectionClass::hasMethod</a> — 检查方法是否已定义</li><li><a href="reflectionclass.hasproperty.html">ReflectionClass::hasProperty</a> — 检查属性是否已定义</li><li><a href="reflectionclass.implementsinterface.html">ReflectionClass::implementsInterface</a> — 接口的实现</li><li><a href="reflectionclass.innamespace.html">ReflectionClass::inNamespace</a> — 检查是否位于命名空间中</li><li><a href="reflectionclass.isabstract.html">ReflectionClass::isAbstract</a> — 检查类是否是抽象类（abstract）</li><li><a href="reflectionclass.iscloneable.html">ReflectionClass::isCloneable</a> — 返回了一个类是否可复制</li><li><a href="reflectionclass.isfinal.html">ReflectionClass::isFinal</a> — 检查类是否声明为 final</li><li><a href="reflectionclass.isinstance.html">ReflectionClass::isInstance</a> — 检查类的实例</li><li><a href="reflectionclass.isinstantiable.html">ReflectionClass::isInstantiable</a> — 检查类是否可实例化</li><li><a href="reflectionclass.isinterface.html">ReflectionClass::isInterface</a> — 检查类是否是一个接口（interface）</li><li><a href="reflectionclass.isinternal.html">ReflectionClass::isInternal</a> — 检查类是否由扩展或核心在内部定义</li><li><a href="reflectionclass.isiterateable.html">ReflectionClass::isIterateable</a> — 检查是否可迭代（iterateable）</li><li><a href="reflectionclass.issubclassof.html">ReflectionClass::isSubclassOf</a> — 检查是否为一个子类</li><li><a href="reflectionclass.istrait.html">ReflectionClass::isTrait</a> — 返回了是否为一个 trait</li><li><a href="reflectionclass.isuserdefined.html">ReflectionClass::isUserDefined</a> — 检查是否由用户定义的</li><li><a href="reflectionclass.newinstance.html">ReflectionClass::newInstance</a> — 从指定的参数创建一个新的类实例</li><li><a href="reflectionclass.newinstanceargs.html">ReflectionClass::newInstanceArgs</a> — 从给出的参数创建一个新的类实例。</li><li><a href="reflectionclass.newinstancewithoutconstructor.html">ReflectionClass::newInstanceWithoutConstructor</a> — 创建一个新的类实例而不调用它的构造函数</li><li><a href="reflectionclass.setstaticpropertyvalue.html">ReflectionClass::setStaticPropertyValue</a> — 设置静态属性的值</li><li><a href="reflectionclass.tostring.html">ReflectionClass::__toString</a> — 返回 ReflectionClass 对象字符串的表示形式。</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="reflection.getmodifiernames.html">Reflection::getModifierNames</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="reflectionclass.construct.html">ReflectionClass::__construct</a></div>
 <div class="up"><a href="book.reflection.html">反射</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
